package com.atguigu.serviceedu.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author zzc
 * @Date 2022/9/15 14:41
 * @Version 1.0
 */
@Data
public class OneSubject {

    private String id;
    private String title;

    //一个一级分类对应多个二级分类  可以用list嵌套
    private List<TwoSubject> children=new ArrayList<>();
}
